package dongshi.dadday.testdongsirmultidatasourcestarter.service;

import dongshi.dadday.testdongsirmultidatasourcestarter.dao.TDao;
import dongshi.dadday.testdongsirmultidatasourcestarter.entity.T;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TService {

    @Resource
    private TDao tDao;

    public T queryById(int id) {
        return tDao.selectByPrimaryKey(id);
    }
}
